/**
 * @(#) CongMoneyVO.as
 *
 * @date		2009. 03. 19.
 * @version		1.0
 * @author		Park, Juneho
 * @description	경조사  Value Object
 *
 */
package com.skt.common_hr.resupport.model.vo
{
	import com.wcl.utils.DateUtil;
	
	import mx.formatters.PhoneFormatter;

	[Bindable]
	public class ResupportMoneyVO
	{
		public var GWAREKEY:Number;			//Groupware 전자결재 Key
		public var IDATE:Date;				//신청일
		public var USEDT1:Date;				//사용일
		public var GJAHR:String;				//대상년도
		public var HOWMANY:int;				//지원건수
		public var HOWMUCH:Number;			//지원금액
		public var SBETRG:Number;			//신청금액

		
		public var WSTATUS:String;			//상태
		public var WSTATX:String;			//상태텍스트
		public var T_GJAHR:String;			//기준년도 코드
		public var T_CODE:String;			//기준년도 TEXT
		public var SPMON:String;			//분석기간
		
		public var ORGTX:String;			//조직
		public var PERNR:String;			//대상자사번(기본정보)
		public var ENAME:String;			//대상자 성명(기본정도)
		public var BETRG:Number;			//잔여금액(기본정보)
		public var BETRG_Q:Number;			//신청금액(기본정도)
		public var BETRG_Y:Number;			//연간지원금액(기본정도)
		public var BANKA:String;		// 입금은행
		public var BANKN:String;		// 계좌번호
		public var EMFTX:String;		// 예금주
		public var WSTATUS_F:Boolean;			//결재진행상태
		public var WSTATUS_F2:Boolean;			//결재진행상태
		public var BSTATUS:String;			//전표진행상태
		public var BSTATX:String;			//전표진행상태텍스트
		public var USEDT0:String;				//의료비 신청일
		public var BNKSA:String;		// 계좌타입
		public var STEXT:String;		// 계좌타입 텍스트
		public var BANKL:String;		// 은행 키
		public var BANKS:String;		// 은행 국가 키
		public var PRINT_IDATE:Date;		//프린트용신청일
		public var IDAY:String;				//프린트용한글 신청요일
		public var PRINT_CODAT:Date;




		public function getPid(pid:String):String
		{
			var pidNum:PhoneFormatter = new PhoneFormatter;
			pidNum.formatString = "######-#######";
			return pidNum.format(pid);
		}

//		public function get CODAT_F():String {
//			return DateUtil.toDefaultString(CODAT);
//		}
//		public function get COBEG_F():String {
//			return DateUtil.toDefaultString(COBEG);
//		}
//		public function get COEND_F():String {
//			return DateUtil.toDefaultString(COEND);
//		}
		public function get IDATE_F():String {
			return DateUtil.toDefaultString(IDATE);
		}
	}
}